package pl.nith.battleships.resources.i18n;

import java.util.Locale;
import java.util.ResourceBundle;

public class GameLocale
{
	private static ResourceBundle	menuBar;
	private static ResourceBundle	buttons;

	public static ResourceBundle getMenuBar()
	{
		return menuBar;
	}
	
	public static ResourceBundle getButtons()
	{
		return buttons;
	}

	public static void changeLocale(Locale locale)
	{
		menuBar = ResourceBundle.getBundle("MenuBar", locale);
		buttons = ResourceBundle.getBundle("Buttons", locale);
	}
}
